C# access substring

48

C# access substring -

int begin = myString.IndexOf('"');
int end = myString.LastIndexOf('"');
string secondArg = myString.Substring(begin, end - begin + 1);

Comments

Submit
0 Comments